import React from "react";
import { Button } from "antd";
import { Link } from "react-router-dom";

const NotFound: React.FC = () => (
  <div style={{ textAlign: "center", padding: "50px" }}>
    <h1>404</h1>
    <p style={{margin:"12px 0"}}>The page you are looking for does not exist.</p>
    <Button type="primary">
      <Link to="/">Back to Home</Link>
    </Button>
  </div>
);

export default NotFound;
